package com.white.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.white.bean.SearchHistory;

import java.util.List;

public interface SearchHistoryService extends IService<SearchHistory> {
    boolean create(SearchHistory searchHistory);

    List<SearchHistory> searchByUserId(Long userId);

    void deleteById(Long searchHistoryId);
}
